package com.peaksport.framework.extend.hibernate;

import java.sql.Types;

import org.hibernate.dialect.Oracle10gDialect;
import org.hibernate.type.StandardBasicTypes;

/**
 * 1. 解决jpa对oracle nvarchar2不支持的问题
 * 
 * @author guojb
 *
 */
public class PeakOracleDialect extends Oracle10gDialect {
	
	public PeakOracleDialect() {
		super();
		registerHibernateType(Types.NVARCHAR, StandardBasicTypes.STRING.getName());
	}

}
